Welcome to HomeDirect! This Enterprise Java application uses J2EETM technology, and is intended to be a design and development example to accompany the book "Developing Enterprise Java Applications with J2EE and UML".
This document describes how to install and run the HomeDirect Bank example on Windows
2000 or NT. HomeDirect was built to take advantage of the many elements
already present in the J2EE reference implementation - including the server platform,
database, and deployment tools. As such, the installation procedure involves configuring
several aspects of J2EE 1.3 - Beta 2 Release. Please be sure to follow these instructions closely.
Also note this example was tested with the latest available version of J2EE 1.3 at the time of
writing, which is the Beta 2 Release. It is anticipated that the final release of J2EE 1.3
might introduce some changes that could impact this example, but they should be minor
in nature.
You can download and install them from:
Start->Settings->Control Panel
, choose to edit the System
settings. Click on Advanced->Environment Variables
, and then set a
new variable called JAVA_HOME
with the directory where you installed
the J2SE SDK, typically C:\jdk1.3
.
JAVA_HOME
, set another new variable called
J2EE_HOME
with the directory where you installed the J2EE SDK,
typically C:\j2sdkee1.3
.
%J2EE_HOME%
directory, edit the file
config\resource.properties
.
Add the lines for the HomeDirectDB entry to the end of the list of databases.
The lines you add will look like this:
jdbcDataSource.5.name=jdbc/HomeDirectDB
jdbcDataSource.5.url=jdbc:cloudscape:rmi:HomeDirectDB;create=true
%J2EE_HOME%\bin
directory and run:
cloudscape -start
HomeDirect.zip
, to the directory C:\HomeDirect
. All of the code will be found under
C:\HomeDirect\j2ee1.3
. We'll refer to this directory as
%HomeDirect%
in the rest of these instructions.
%HomeDirect%\sql
directory and run
the command:
Resetdb
%J2EE_HOME%\bin
directory and run:
j2ee -verbose
%J2EE_HOME%\bin
directory run:
deploytool
File
menu, and then Open Application...
.
Select the file %HomeDirect%\HomeDirect.ear
. Next, click on the
Tools
menu, and then Deploy Application
. Click through
the dialog boxes to complete the deployment.
Readme.html
http://localhost:8000/homedirect/Login.jsp